import org.apache.hadoop.hdfs.DFSClient;
import org.apache.hadoop.security.ShellBasedUnixGroupsMapping;
import org.apache.hadoop.util.Shell;
import org.apache.hadoop.util.StringUtils;
import org.junit.Test;

public class HdfsClientUtilTester {

    @Test
    public void test1(){
        System.out.println(StringUtils.arrayToString(Shell.getGroupsForUserCommand("100002")));
    }

}
